/**
 * 
 */
package com.sys.console.common.base;

import java.io.Serializable;

import javax.annotation.PostConstruct;

import com.sys.object.common.page.PageBean;
/**
 * @author zxp
 *
 */
public interface BaseMoreQrtzService <T extends Serializable, PK extends Serializable> extends BaseService<T,Integer>{
	
	/**
	 * 直接返回pagebean
	 * @param page
	 * @return
	 * @throws Exception
	 */
	public abstract PageBean queryPageList(T entity,PageBean page) throws Exception;
	
	@PostConstruct
	public abstract void init() throws Exception;
	
	public abstract int updateQrtzStatus(T entity) throws Exception;
	
	public abstract int updateCron(T entity) throws Exception;
	
}
